package com.snopy.designPattern.structure.bridge.impl;

import com.snopy.designPattern.structure.bridge.inter.Device;

/**
 * @author snopy
 * @version 1.0.0
 * @classname AdvancedRemote
 * @description
 * @email 77912204@qq.com
 * @date 2022/11/26 22:04
 */
public class AdvancedRemote extends BasicRemote{
    public AdvancedRemote(Device device) {
        super.device = device;
    }

    public void mute(){
        System.out.println("Remote: mute");
        device.setVolume(0);
    }
}
